<h2>Nueva Solicitud de Pre Registro</h2>

<%= form_for(@cultural_heritage_pre_register_request) do |f| %>
  <% if @cultural_heritage_pre_register_request.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@cultural_heritage_pre_register_request.errors.count, "error") %> prohibited this cultural_heritage_pre_register_request from being saved:</h2>

      <ul>
      <% @cultural_heritage_pre_register_request.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>


<div class="shadow">
 <fieldset id="agrupacion" >
    <legend>Datos de Solicitud </legend>
   <fieldset class="column-left" >
  <%#*<div class="field">%>
   <%#*<label>Estado</label><br />%>
    <%#= f.select :state,@cultural_heritage_states.collect {|t| [t.name,t.id]},{:include_blank=>"Seleccione"} %>
  <%#*</div>%>
    <div class="field">
    <label>Fecha de Envio:</label>
    <%= f.datepicker 'send_date'%>
  </div>
      </fieldset>
    <fieldset class="column-right" >
     <div class="field">

    <label>Descripcion</label><br />
    <%= f.text_area :description %>
    </div>
    </fieldset>
    </fieldset>

  <div class="actions">
    <%= submit_tag('Siguiente') %>
  </div>

 </div>   
<% end %>


<%= link_to 'Regresar', cultural_heritage_pre_register_requests_path %>
